package com.bosssoft.cloud.wechat.common.bean.user;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * 用户信息DTO
 * 调用注册接口得到的用户信息
 *
 * @author wcy create on 2021/7/19 11:24 上午
 */

@Data
public class UserInfoDTO {
    @JSONField(name = "uid")
    private String userId;
    @JSONField(name = "username")
    private String userName;
    @JSONField(name = "phone")
    private String phone;
    @JSONField(name = "relateName")
    private String password;
    @JSONField(name = "name")
    private String name;
    @JSONField(name = "idCard")
    private String idCard;
    @JSONField(name = "wxId")
    private String unionId;
    @JSONField(name = "zfbId")
    private String zfdId;
    @JSONField(name = "email")
    private String email;
    @JSONField(name = "relateName")
    private List<String> relatedNames;
    @JSONField(name = "lastLoginTime")
    private String lastLoginTime;
    @JSONField(name = "registerTime")
    private String registerTime;
    @JSONField(name = "openId")
    private String openId;
    @JSONField(name = "session_token")
    private String session_token;
    @JSONField(name = "isunit")
    private String isunit;
    @JSONField(name = "organizationCode")
    private String organizationCode;
    @JSONField(name = "unitLinkman")
    private String unitLinkman;
    @JSONField(name = "unitName")
    private String unitName;

    public UserInfoDTO() {
        this.session_token = "";
        this.isunit = "";
        this.organizationCode = "";
        this.unitLinkman = "";
        this.unitName = "";
    }
}
